package com.lagou.bean;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author czq
 * @date 2020/9/2 22:56
 */
@Component
public class ConsumerComponent {

    @Reference
    private HelloService helloService;

    public String methodA(String name) {
        return helloService.methodA(name);
    }

    public String methodB(String name) {
        return helloService.methodB(name);
    }

    public String methodC(String name) {
        return helloService.methodC(name);
    }
}
